<?php if (!isset($v_sval))
	exit; ?>
<?php

	$acc = ( isset($_REQUEST["acc"]) ? $_REQUEST["acc"] : '' );

if (!isset($_SESSION["user_name"])) {
	setcookie("login_mesage", "B&#7841;n truy c&#7853;p v&#224;o v&#249;ng &#273;&#432;&#7907;c b&#7843;o v&#7879; h&#227;y &#273;&#259;ng nh&#7853;p &#273;&#7875; ti&#7871;p t&#7909;c ");
	redir(URL."dang-nhap");
	exit;
}
if ( isset($_SESSION["user_id"]) && $_SESSION["user_id"] )
	$user_id = $_SESSION["user_id"];
$acc = strtoupper($acc);
switch ($acc) {
	case 'USER';
		include 'account/user/index.php';
	break;
	default;
		include "account/account_header.php";
		include "account/account_footer.php";
		break;
}
?>	
